package com.ruoyi.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.web.domain.Registeredtype;
import com.ruoyi.web.mapper.RegisteredtypeMapper;
import com.ruoyi.web.service.IRegisteredtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IRegisteredtypeServiceImpl extends ServiceImpl<RegisteredtypeMapper, Registeredtype> implements IRegisteredtypeService {
    @Autowired
    private RegisteredtypeMapper registeredtypeMapper;

    @Override
    public Registeredtype selectRegisteredtypeByRegisteredid(Long registeredid) {
        return registeredtypeMapper.selectRegisteredtypeByRegisteredid(registeredid);
    }

    @Override
    public List<Registeredtype> selectRegisteredtypeList(Registeredtype registeredtype) {
        return registeredtypeMapper.selectRegisteredtypeList(registeredtype);
    }

    @Override
    public int insertRegisteredtype(Registeredtype registeredtype) {
        return registeredtypeMapper.insertRegisteredtype(registeredtype);
    }

    @Override
    public int updateRegisteredtype(Registeredtype registeredtype) {
        return registeredtypeMapper.updateRegisteredtype(registeredtype);
    }
}
